package com.java.cloud.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.java.common.utils.PageUtils;
import com.java.cloud.account.entity.Account;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 账户表
 *
 * @author jl
 * @since 2020-03-13 12:21:12
 */
public interface AccountService extends IService<Account> {

    PageUtils queryPage(Map<String, Object> params);

	int decrease(Long userId, BigDecimal money);
}

